Horizontal oscillation circuit capable of changing frequency

ABSTRACT

A frequency detection circuit detects the frequency of a horizontal sync signal, and generates a mode switching signal corresponding to the detected frequency. A voltage-controlled oscillator constituting a PLL circuit has a plurality of oscillation modes obtained by dividing a frequency equal to an integer multiple of the frequency of the horizontal sync signal into a plurality of frequency ranges, and oscillates signals in the respective frequency ranges in accordance with control voltages output from a filter. The oscillation modes of the voltage-controlled oscillator are switched in accordance with the mode switching signal output from the frequency detection circuit. In the voltage-controlled oscillator, since the frequency range in each oscillation mode is narrow, the oscillation gain can be suppressed low, and a deterioration in jitter characteristics can be prevented.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a semiconductor integrated circuithaving an oscillation circuit and, more particularly, to a horizontaloscillation circuit which can change the frequency of a horizontal syncsignal over a wide range and is applied to a monitor or a televisionreceiver.

2. Description of the Related Art

A PLL (Phase Locked Loop) circuit is used as a horizontal oscillationcircuit in a monitor used for, e.g., a computer, or a televisionreceiver. This PLL circuit has a voltage-controlled oscillator (to bereferred to as a VCO hereinafter) for generating a clock signal having afrequency n (n is an integer) times higher than the frequency of ahorizontal sync signal.

Conventionally, the VCO is only required to generate clock signals ofthe same frequency. A recently developed monitor called a multi-scanningmonitor can switch scanning speeds. The frequency of a horizontal syncsignal supplied from a computer to a monitor of this type changes, forexample, in the range of 20 kHz to 100 kHz. For this reason, a VCOapplied to a horizontal oscillation circuit is required to be capable ofoscillating over a wide range of the frequencies of horizontal syncsignals.

If one VCO is made to oscillate over a wide frequency range, the VCOrequires a high oscillation gain. If a high gain is set, the frequencyresponse speed increases, resulting in a deterioration in jittercharacteristics.

In order to solve this problem, a plurality of VCOs with differentoscillation frequency ranges may be arranged such that the VCOs areswitched to operate in accordance with the frequency of a horizontalsync signal. In this case, however, in addition to a plurality of VCOs,the oscillation circuit requires a frequency/voltage converter forgenerating a voltage corresponding to the frequency of a horizontal syncsignal, resulting in an undesirable increase in circuit size.

SUMMARY OF THE INVENTION

It is an object of the present invention to provide a horizontaloscillation circuit which can prevent a deterioration in jittercharacteristics by suppressing the oscillation gain of a VCO, andprevent an increase in circuit size.

In order to achieve the above object, there is provided a semiconductorintegrated circuit having an oscillation circuit, comprising:

frequency detection means for detecting a frequency of a horizontal syncsignal, the frequency detection means generating a switching signal inaccordance with the detected frequency; and

a voltage-controlled oscillator which has a plurality of oscillationmodes obtained by dividing a frequency equal to an integer multiple ofthe frequency of the horizontal sync signal into a plurality offrequency ranges, and oscillates signals in the respective frequencyranges in accordance with control voltages, the oscillation modes of thevoltage-controlled oscillator being switched in accordance with aswitching signal output from the frequency detection means.

According to the present invention, signals in a wide frequency rangecan be oscillated by one voltage-controlled oscillator. In addition,since the frequency range in each oscillation mode of thevoltage-controlled oscillator is narrow, the oscillation gain of thevoltage-controlled oscillator can be decreased, and jitter can bereduced. Since the frequency detection circuit can be realized by asimple circuit, an increase in the overall circuit size can besuppressed.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and constitute apart of the specification, illustrate presently preferred embodiments ofthe invention and, together with the general description given above andthe detailed description of the preferred embodiments given below, serveto explain the principles of the invention.

FIG. 1 is a block diagram showing the arrangement of the firstembodiment of the present invention;

FIG. 2 is a circuit diagram showing the detailed arrangement of a VCO inFIG. 1;

FIG. 3 is a graph for explaining the operation of the VCO in FIG. 2;

FIG. 4 is a circuit diagram showing an example of the ring oscillator inFIG. 2;

FIG. 5 is a circuit diagram showing another example of the ringoscillator in FIG. 2;

FIG. 6 is a circuit diagram showing an example of the loop filter inFIG. 1;

FIG. 7 is a circuit diagram showing still another example of the ringoscillator in FIG. 2;

FIG. 8 is a circuit diagram showing another example of the VCO in FIG.1;

FIG. 9 is a block diagram showing the arrangement of the secondembodiment of the present invention;

FIG. 10 is a block diagram showing the arrangement of a frequencydetection circuit;

FIG. 11 is a block diagram showing the arrangement of another frequencydetection circuit; and

FIG. 12 is a block diagram showing the arrangement of a timer.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

Embodiments of the present invention will be described below withreference to the accompanying drawings.

FIG. 1 shows the first embodiment of the present invention. Referring toFIG. 1, a PLL circuit 16 is constituted by a phase comparator 11, a loopfilter 12 as a low-pass filter, a VCO 13, and a frequency divider 14. Ahorizontal sync signal f_(H) output from, e.g., a computer (not shown)and having a frequency which changes over a wide range is supplied tothe first input terminal of the phase comparator 11. A reference signalf_(r) output from the frequency divider 14 and having almost the samefrequency as that of the horizontal sync signal f_(H) is supplied to thesecond input terminal of the phase comparator 11. The phase comparator11 detects the phase difference between the horizontal sync signal f_(H)and the reference signal f_(r). A signal corresponding to the detectedphase difference is supplied to the loop filter 12. The loop filter 12outputs a control voltage V_(L) corresponding to the input signal. Thecontrol voltage V_(L) is applied to the VCO 13. The VCO 13 generates asignal nf_(H) in accordance with the control voltage V_(L) applied fromthe loop filter 12. This signal nf_(H) has a frequency n times (n is aninteger) higher than the frequency of the horizontal sync signal f_(H).As will be described later, the VCO 13 has a plurality of oscillationmodes obtained by dividing a wide frequency range into a plurality ofranges. The oscillation frequency range in each oscillation mode is setto be narrow to decrease the oscillation gain. The signal nf_(H) outputfrom the VCO 13 is supplied to a horizontal drive circuit (not shown)and the frequency divider 14. The frequency divider 14 frequency-dividesthe period of the input signal to 1/n so as to generate the referencesignal f_(r).

The horizontal sync signal f_(H) and a clock signal CL are supplied to afrequency detection circuit 15. As shown in FIG. 10, the frequencydetection n circuit 15 is constituted by a counter 15a for counting,e.g., clock signals CL, and a decoder 15b connected to the counter 15a.The counter 15a detects the frequency of the horizontal sync signalf_(H) by counting clock signals CL in one period of the input horizontalsync signal f_(H), i.e., a 1-H interval. The decoder 15b outputs a modeswitching signal MSn (n=1 to 4) for switching the oscillation modes ofthe VCO 13 in accordance with the detected frequency. In this case, thedecoder 15b sets one of mode switching signals MS1 to MS4 at high levelin accordance with the detected frequency.

The mode switching signals MSn are appropriately set in each embodimentdescribed later. That is, the arrangement of the decoder 15b is changedin each embodiment. For example, at least one of the mode switchingsignals MS1 to MS4 can be set at high level or low level in accordancewith the detected frequency. A decoder of this type can be realized by aknown technique using a logic circuit.

FIG. 2 shows an example of the VCO 13. This VCO 13 is constituted by aring oscillator 20 and a selector 21. The ring oscillator 20 comprisesan odd number of series-connected inverter circuit 20₁ to 20_(n+1). Thecontrol voltage V_(L) output from the loop filter 12 is applied to eachof the inverter circuits 20₁ to 20_(n+1).

The output terminals of the inverter circuits 20_(n-5), 20_(n-3),20_(n-1), and 20_(n+1) are connected to the input terminals of theselector 21. The mode switching signal MSn output from the frequencydetection circuit 15 is supplied to the selector 21. The selector 21selects one of output signals from the inverter circuits 20_(n-5),20_(n-3), 20_(n-1), and 20_(n+1) in accordance with the mode switchingsignal MSn. That is, the selector 21 switches the numbers of invertercircuits constituting the ring oscillator 20 to switch the oscillationmodes in accordance with the mode switching signal MSn. The outputsignal from the selector 21 is supplied to the input terminal of thefirst inverter circuit 20₁ of the selector 21. The oscillation modes ofthe VCO 13 are therefore switched in accordance with the mode switchingsignal MSn, and the signal nf_(H) is output.

FIG. 3 shows the operation of the VCO 13. The oscillation modes of theVCO 13 are switched in accordance with the mode switching signals MS1 toMS4. In each oscillation mode, the VCO 13 oscillates at a predeterminedfrequency indicated by a solid line in accordance with the controlvoltage V_(L) output from the loop filter 12.

FIG. 4 shows an inverter circuit as a part of the ring oscillator 20. Acurrent path constituted by P-channel MOSFETs (to be referred to asPMOSs hereinafter) P1 and P2 and N-channel MOSFETs (to be referred to asNMOSs hereinafter) N1 and N2 is connected in series between a powersupply Vdd and ground. The gates of the PMOSs P1 and P2 and the NMOSs N1and N2 are commonly connected, and the node between the PMOS P2 and theNNOS N1 serves as an output terminal. PMOSs P3 and P4 are connected inparallel with the PMOS P1. The control voltage V_(L) output from theloop filter 12 is applied to the gates of the PMOSs P3 and P4. Thecurrents flowing in the PMOSs P3 and P4 change in accordance with thecontrol voltage V_(L). The current flowing in the PMOS P1 thereforechanges in accordance with the control voltage V_(L). That is, thedimension of the PMOS P1 is changed in accordance with the controlvoltage V_(L), and the oscillation frequency of the ring oscillator 20is changed in accordance with this change in dimension.

According to the above embodiment, the VCO 13 is constituted by the ringoscillator 20 having a plurality of inverter circuits connected inseries, and switches the numbers of inverter circuits constituting thering oscillator 20 in accordance with the frequency of the horizontalsync signal f_(H) detected by the frequency detection circuit 15,thereby switching the oscillation modes. In each oscillation mode, theoscillation frequency of the VCO 13 is changed in accordance with thecontrol voltage V_(L). Therefore, signals having frequencies in a widerange can be oscillated by using one VCO 13. In addition, as indicatedby the solid lines in FIG. 3, the frequency ranges in the respectiveoscillation modes are narrow. For this reason, the oscillation gain ofthe VCO 13 can be decreased as compared with the case wherein thefrequency range is wide as indicated by the dotted line in FIG. 3, andhence jitter can be reduced.

Furthermore, a plurality of VCOs are not required but only the VCO 13 isrequired, unlike the conventional oscillation circuit. In addition,since a frequency detection circuit can be realized by a simple circuit,the circuit size is smaller than that of a conventionalfrequency/voltage converter. An increase in the overall circuit size cantherefore be suppressed.

FIG. 5 shows another inverter circuit as a part of the ring oscillator20. The same reference numerals in FIG. 5 denote the same parts as inFIG. 4, and only a different portion will be described. In this case,NMOSs N3 and N4 are connected in parallel with the NMOS N2. In addition,a control voltage V_(L1) output from the output terminal of the loopfilter 12 is applied to the gates of the PMOSs P3 and P4, whereas acontrol voltage V_(L2) output from the input terminal of the loop filter12 (the output voltage from the phase comparator 11) is applied to thegates of the NMOSs N3 and N4.

FIG. 6 shows an example of the loop filter 12. The loop filter 12comprises a differential amplifier 31 and resistors 32, 33, 34, and 35.That is, the output terminal of the phase comparator 11 is connected tothe non-inverting input terminal of the differential amplifier 31through the resistor 32. The resistor 33 is connected between thisnon-inverting input terminal and the output terminal of the differentialamplifier 31. The resistors 34 and 35 are connected in series between apower supply Vdd and ground. The node between the resistors 34 and 35 isconnected to the inverting input terminal of the differential amplifier31. The control voltage V_(L1) is output from the output terminal of thedifferential amplifier 31. The control voltage V_(L2) is output from theoutput terminal of the phase comparator 11.

When, for example, the phase of the horizontal sync signal f_(H) leadsthe phase of the reference signal f_(r), the phase comparator 11 outputsa high-level signal. When the phase of the horizontal sync signal f_(H)lags behind the phase of the reference signal f_(r), the phasecomparator 11 outputs a low-level signal. When the horizontal syncsignal f_(H) is in phase with the reference signal f_(r), ahigh-impedance state is set.

The inverter circuit shown in FIG. 5 switches the dimensions of thePMOSs and the NMOSs in accordance with the control voltages V_(L1) andV_(L2) from the loop filter 12, thereby switching the oscillationfrequencies of the VCO 13. With this arrangement, the oscillationfrequency range can be broadened.

In the above embodiment, a fixed voltage may be applied to the gates ofthe NMOSs N3 and N4 instead of applying the control voltage V_(L2). Inthis case, noise can be reduced.

FIG. 7 shows still another inverter circuit as a part of the ringoscillator 20. The same reference numerals in FIG. 7 denote the sameparts as in FIG. 6, and only a different portion will be described. Inthis case, a plurality of PMOSs P5, P6, P7, and P8 are connected to thePMOS P1. The mode switching signals MS1, MS2, MS3, and MS4 output fromthe frequency detection circuit 15 are respectively supplied to thegates of the PMOSs P5, P6, P7, and P8. In addition, the control voltageV_(L) from the loop filter 12 is applied to the gates of the NMOSs N3and N4. In this case, the frequency detection circuit 15 sets at leastone of the mode switching signals MS1 to MS4 at high level in accordancewith the detected frequency.

The dimensions of the PMOS P1 are switched by changing the number of ONtransistors among the NMOSs P5, P6, P7, and P8 by the mode switchingsignal MS1, MS2, MS3, or MS4. By switching the dimensions of the PMOSP1, the oscillation modes of the VCO are switched. If the invertercircuits constituting the ring oscillator 20 are arranged in the abovemanner, the selector 21 in FIG. 2 can be omitted. Therefore, the circuitmay be designed such that the output signal from the last invertercircuit is fed back to the input terminal of the first inverter circuit.

FIG. 8 shows another example of the VCO 13. In the example shown in FIG.2, the ring oscillator is constituted by a plurality of invertercircuits. In this example, the ring oscillator is constituted by an oddnumber of series-connected differential amplifiers 51₁ to 51_(n) and51_(n+1) and a selector 52. The control voltages V_(L1) and V_(L2) areapplied to the differential amplifiers 51₁ to 51_(n) and 51_(n+1).

The selector 52 selects one of the output signals from the differentialamplifiers 51_(n) and 51_(n+1) in accordance with the mode switchingsignal MSn. When the selector 52 selects the output signal from anodd-numbered differential amplifier, the non-inverting and invertingoutput signals from this differential amplifier are respectivelysupplied to the non-inverting and inverting input terminals of thedifferential amplifier 51₁. When the selector 52 selects the outputsignal from an even-numbered differential amplifier, the inverting andnon-inverting output signals from this differential amplifier arerespectively supplied to the non-inverting and inverting input terminalsof the differential amplifier 51₁.

With the VCO shown in FIG. 8, the same effects as those of the aboveembodiment can be obtained. In addition, each differential amplifier hasa constant current source (not shown). For this reason, the differentialamplifier suffers less noise upon switching and with variations in powersupply than the inverter. Therefore, the ring oscillator usingdifferential amplifiers is superior in jitter characteristics to thering oscillator using inverter circuits.

FIG. 9 shows the second embodiment of the present invention. The samereference numerals in FIG. 9 denote the same parts as in FIG. 1. In thisembodiment, the timing at which the oscillation modes of a VCO areswitched and the timing at which the horizontal linearity of ahorizontal drive circuit is compensated are changed in accordance withthe frequency of a horizontal sync signal.

Referring to FIG. 9, an output terminal of the frequency detectioncircuit 15 is connected to the VCO 13 through a first timer 61, andanother output terminal of the frequency detection circuit 15 is alsoconnected to a deflection switching circuit 63 through a second timer62. An output signal nf_(H) from the VCO 13 is supplied to a horizontaldrive circuit 64. The deflection switching circuit 63 is connected tothe horizontal drive circuit 64. The horizontal drive circuit 64includes a capacitor Cp whose capacitance can be changed. By changingthe capacitance of the capacitor Cp, the horizontal linearity can becompensated. The deflection switching circuit 63 changes the capacitanceof the capacitor Cp in the horizontal drive circuit 64 in accordancewith the frequency of a horizontal sync signal. The frequency detectioncircuit 15, the PLL circuit 16, and the first and second timers 61 and62, excluding the deflection switching circuit 63 and the horizontaldrive circuit 64, are formed into an integrated circuit.

The frequency detection circuit 15 outputs a mode switching signal Msnfor controlling the VCO 13, a control signal MS2n for controlling thedeflection switching circuit 63, and control signals TS1 and TS2 forcontrolling the first and second timers 61 and 62. The control signalsTS1 and TS2 are complementary signals. Each of the first and secondtimers 61 and 62 is set in the first or second operation mode inaccordance with a corresponding one of the control signals TS1 and TS2.When the first and second timers 61 and 62 are set in the firstoperation mode, the timers immediately output input signals. When thefirst and second timers 61 and 62 are set in the second operation mode,the timers output input signals with delays of 100 to 200 ns.

When the frequency of a horizontal sync signal is switched from a lowfrequency to a high frequency, the first timer 61 is set in the firstoperation mode, and the second timer 62 is set in the second operationmode in accordance with the control signals TS1 and TS2. First of all,therefore, the mode switching signal MSn is supplied to the VCO 13through the first timer 61 to increase the oscillation frequency of theVCO 13. Thereafter, the control signal MS2n is supplied to thedeflection switching circuit 63 through the second timer 62. Thecapacitances of the capacitor Cp in the horizontal drive circuit 64 areswitched by the deflection switching circuit 63.

When the frequency of a horizontal sync signal is switched from a highfrequency to a low frequency, the first and second timers 61 and 62 arerespectively set in the second operation mode and the first operationmode in accordance with the control signals TS1 and TS2. First of all,therefore, the control signal MS2n is supplied to the deflectionswitching circuit 63 through the second timer 62, and the capacitancesof the capacitor Cp in the horizontal drive circuit 64 are switched bythe deflection switching circuit 63. Thereafter, the mode switchingsignal MSn is supplied to the VCO 13 through the first timer 61 so as todecrease the oscillation frequency of the VCO 13.

FIG. 11 shows the frequency detection circuit 15. For example, thefrequency detection circuit 15 is constituted by a counter 15a, firstand second decoders 15b and 15c, first and second memories 15d and 15e,and a comparator 15f. The counter 15a and the first decoder 15b are thesame as those in FIG. 10. The second decoder 15c is connected to theoutput terminal of the counter 15a. The second decoder 15c generates thecontrol signal MS2n for switching the capacitances of the capacitor Cpin the horizontal drive circuit 64 in accordance with the frequency of ahorizontal sync signal output from the counter 15a.

The first and second memories 15d and 15e are sequentially connected tothe output terminal of the first decoder 15b. The first memory 15dstores the current mode switching signal output from the first decoder15b. The second memory 15e stores the preceding mode switching signal.The data stored in the first and second memories 15d and 15e are updatedwhen the mode switching signal output from the first decoder 15bchanges. The first and second memories 15d and 15e are connected to theinput terminals of the comparator 15f. The comparator 15f compares themode switching signal stored in the first memory 15d with the modeswitching signal stored in the second memory 15e, and outputs thecontrol signals TS1 and TS2 in accordance with the comparison result.That is, the comparator 15f can recognize in accordance with thiscomparison result whether the frequency of a horizontal sync signal isswitched from a low frequency to a high frequency or from a highfrequency to a low frequency. When the frequency of the horizontal syncsignal is switched from a low frequency to a high frequency, thecomparator 15f sets the control signals TS1 and TS2 at, for example, lowlevel and high level, respectively. When the frequency of the horizontalsync signal is switched from a high frequency to a low frequency, thecomparator 15f sets the control signals TS1 and TS2 at high level andlow level, respectively.

FIG. 12 shows the arrangement of the first timer 61. Since the secondtimer 62 has the same arrangement as that of the first timer 61, adescription thereof will be omitted. The mode switching signal MSn (thecontrol signal MS2n in the case of the second timer) is supplied to anon-coincidence detector 61a. The non-coincidence detector 61a isconstituted by a plurality of exclusive OR circuits, for example. Whenthe mode switching signal MSn changes, the non-coincidence detector 61aoutput a signal. For example, the output signal from the non-coincidencedetector 61a is supplied to a preset terminal PS of a preset type downcounter 61b.

The output terminal of a multiplexer (MPX) 61c is connected to the downcounter 61b. Time data N1 and N2 are supplied to input terminals of themultiplexer 61c. The time data N1 is a numerical value for setting adelay time of, e.g., 0 ns. The time data N2 is a numerical value forsetting a delay time of, e.g., 100 to 200 ns. The multiplexer 61cselects one of the time data N1 and N2 in accordance with the controlsignal TS1, and supplies the selected data to the down counter 61b. Thedown counter 61b sets the time data output from the multiplexer 61c whena signal output from the non-coincidence detector 61a is supplied to thepreset terminal PS.

A clock signal .o slashed. is supplied to a clock input terminal CK ofthe down counter 61b through a flip-flop circuit 61d. The down counter61b counts down the set time data in accordance with the clock signal .oslashed.. Output signals of the down counter 61b are supplied to an all"0" detector 61e. When the output signals from the down counter 61bbecomes all "0", the detector 61e outputs a high-level signal D1. Thissignal D1 is supplied to the flip-flop circuit 61d and a pulse generator61f. The flip-flop circuit 61d is reset by the signal D1. As a result,supply of the clock signal .o slashed. to the down counter 61b isstopped. The pulse generator 61f generates a pulse signal in accordancewith the signal D1, and supplies this pulse signal to a clock inputterminal CK of a flip-flop circuit 61g. The mode switching signal MSnhas been supplied to a data input terminal of the flip-flop circuit 61g.Upon reception of a pulse signal from the pulse generator 61f, theflip-flop circuit 61g outputs the mode switching signal MSn.

In the above arrangement, when time data corresponding to a delay timeof 0 ns is set in the down counter 61b, the all "0" detector 61eimmediately outputs the signal D1. As a result, in response to the pulsesignal supplied from the pulse generator 61f, the flip-flop circuit 61gimmediately outputs the mode switching signal MSn. If time datacorresponding to a delay time of 100 to 200 ns is set in the downcounter 61b, the all "0" detector 61e outputs the signal D1 when thedown counter 61b finishes counting the set numerical value. As a result,in response to the pulse signal supplied from the pulse generator 61f,the flip-flop circuit 61g outputs the mode switching signal MSn after alapse of 100 ns to 200 ns.

According to this embodiment, oscillation modes can be digitally set. Inaddition, by delaying a mode switching signal output from the frequencydetection circuit 15 by a predetermined period of time using the firstand second timers 61 and 62, a time difference can be set between thetiming at which the oscillation frequencies of the VCO 13 are switchedand the timing at which the capacitances of the capacitor in thehorizontal drive circuit 64 are switched, when the frequency of ahorizontal sync signal is switched. Therefore, the load on thehorizontal drive circuit in a transient period during which thefrequency of a horizontal sync signal is switched to another frequencycan be reduced.

As is apparent, various changes and modifications of the embodiments canbe made without departing from the spirit and scope of the invention.

What is claimed is:
 1. A semiconductor integrated circuit having anoscillation circuit, comprising:frequency detection means for detectinga frequency of a horizontal sync signal, the frequency changing over awide range, said frequency detection means generating a switching signalin accordance with the detected frequency; and a voltage-controlledoscillator which has a plurality of oscillation modes obtained bydividing a frequency equal to an integer multiple of the frequency ofthe horizontal sync signal into a plurality of frequency ranges, andoscillates signals in the respective frequency ranges in accordance withcontrol voltages, the oscillation modes of said voltage-controlledoscillator being switched in accordance with a switching signal outputfrom said frequency detection means.
 2. A circuit according to claim 1,wherein said voltage-controlled oscillator comprises:an odd number ofseries-connected inverter circuits; and selection means for selectingone of a plurality of output signals from said inverter circuits inaccordance with the switching signal, said selection means supplying theselected output signal to the first inverter circuit.
 3. A circuitaccording to claim 2, wherein each of said inverter circuits has atransistor whose current amounts are switched in accordance with thecontrol voltage.
 4. A circuit according to claim 1, wherein saidvoltage-controlled oscillator comprises an odd number ofseries-connected inverter circuits,each of said inverter circuits havinga transistor whose current amounts are switched in accordance with theswitching signal.
 5. A circuit according to claim 1, wherein saidvoltage-controlled oscillator comprises:an odd number ofseries-connected differential amplification circuits; and selectionmeans for selecting one of a plurality of output signals from saiddifferential amplification circuits in accordance with the switchingsignal, and wherein said selection means respectively suppliesnon-inverting and inverting output signals from said differentialamplification circuit to non-inverting and inverting input terminals ofthe first differential amplification circuit when said selection meansselects an output signal from an odd-numbered differential amplificationcircuit, and said selection means respectively supplies inverting andnon-inverting output signals from said differential amplificationcircuit to non-inverting and inverting input terminals of the firstdifferential amplification circuit when said selection means selects anoutput signal from an even-numbered differential amplification circuit.6. A circuit according to claim 1, wherein said frequency detectingmeans comprises:a counter for counting clock signals in one period ofthe horizontal sync signal, and outputting a counting result; and adecoder for decoding the counting result from said counter, andoutputting said switching signal.
 7. A semiconductor integrated circuithaving an oscillation circuit, comprising:frequency detection means fordetecting a frequency of a horizontal sync signal, the frequencychanging over a wide range, said frequency detection means generating aswitching signal in accordance with the detected frequency; a phasecomparing circuit for comparing a phase of the horizontal sync signalwith a phase of a reference signal, said phase comparing circuitoutputting a signal corresponding to a phase difference between thehorizontal sync signal and the reference signal; a filter circuit towhich the output signal from said phase comparing circuit is supplied,said filter circuit generating a control voltage from the output signal;a voltage-controlled oscillator which has a plurality of oscillationmodes obtained by dividing a frequency equal to an integer multiple ofthe frequency of the horizontal sync signal into a plurality offrequency ranges, and oscillates signals in the respective frequencyranges in accordance with control voltages applied from said filtercircuit, the oscillation modes of said voltage-controlled oscillatorbeing switched in accordance with a switching signal output from saidfrequency detection means; and frequency dividing means forfrequency-dividing an output signal from said voltage-controlledoscillator, said frequency dividing means generating the referencesignal.
 8. A circuit according to claim 7, wherein saidvoltage-controlled oscillator comprises:an odd number ofseries-connected inverter circuits; and selection means for selectingone of a plurality of output signals from said inverter circuits inaccordance with the switching signal, said selection means supplying theselected output signal to the first inverter circuit.
 9. A circuitaccording to claim 8, wherein each of said inverter circuits has atransistor whose current amounts are switched in accordance with thecontrol voltage.
 10. A circuit according to claim 7, wherein saidvoltage-controlled oscillator comprises an odd number ofseries-connected inverter circuits,each of said inverter circuits havinga transistor whose current amounts are switched in accordance with theswitching signal.
 11. A circuit according to claim 7, wherein saidvoltage-controlled oscillator comprises:an odd number ofseries-connected differential amplification circuits; and wherein saidselection means respectively supplies non-inverting and inverting outputsignals from said differential amplification circuit to non-invertingand inverting input terminals of the first differential amplificationcircuit when said selection means selects an output signal from anodd-numbered differential amplification circuit, and said selectionmeans respectively supplies inverting and non-inverting output signalsfrom said differential amplification circuit to non-inverting andinverting input terminals of the first differential amplificationcircuit when said selection means selects an output signal from aneven-numbered differential amplification circuit.
 12. A circuitaccording to claim 7, wherein said frequency detection means comprises:acounter for counting clock signals in one period of the horizontal syncsignal, and outputting a counting result; and a decoder for decoding thecounting result from said counter, and outputting said switching signal.13. A semiconductor integrated circuit having an oscillation circuit,comprising:frequency detection means for detecting a frequency of ahorizontal sync signal, said frequency detection means generating aswitching signal in accordance with the detected frequency; a phasecomparing circuit for comparing a phase of the horizontal sync signalwith a phase of a reference signal, said phase comparing circuitoutputting a signal corresponding to a phase difference between thehorizontal sync signal and the reference signal; a filter circuit towhich the output signal from said phase comparing circuit is supplied,said filter circuit generating a control voltage from the output signal;a voltage-controlled oscillator which has a plurality of oscillationmodes obtained by dividing a frequency equal to an integer multiple ofthe frequency of the horizontal sync signal into a plurality offrequency ranges, and oscillates signals in the respective frequencyranges in accordance with control voltages applied from said filtercircuit, the oscillation modes of said voltage-controlled oscillatorbeing switched in accordance with a switching signal output from saidfrequency detection means; frequency dividing means forfrequency-dividing an output signal from said voltage-controlledoscillator, said frequency dividing means generating the referencesignal; a horizontal drive circuit to which an output signal from saidvoltage-controlled oscillator is supplied to generate a horizontal drivepulse signal; a deflection switching circuit for switching capacities ofsaid horizontal drive circuit in accordance with the switching signaloutput from said frequency detection means; and a setting circuit forsetting an operation sequence of said voltage-controlled oscillator andsaid deflection switching circuit in accordance with the switchingsignal output from said frequency detection means.
 14. A circuitaccording to claim 13, wherein said setting circuit switches anoscillation frequency of said voltage-controlled oscillator and thenswitches said capacitors of the horizontal drive circuit by saiddeflection switching circuit when a frequency of a horizontal syncsignal detected by said frequency detection circuit is switched to ahigher frequency, and switches said capacitors of the horizontal drivecircuit by said deflection switching circuit and then switches theoscillation frequency of said voltage-controlled oscillator when thefrequency of the horizontal sync signal is switched to a lowerfrequency.
 15. A circuit according to claim 14, wherein said settingcircuit comprises a timer circuit.
 16. A circuit according to claim 13,wherein said voltage-controlled oscillator comprises:an odd number ofseries-connected inverter circuits; and selection means for selectingone of a plurality of output signals from said inverter circuits inaccordance with the switching signal, said selection means supplying theselected output signal to the first inverter circuit.
 17. A circuitaccording to claim 16, wherein each of said inverter circuits has atransistor whose current amounts are switched in accordance with thecontrol voltage.
 18. A circuit according to claim 17, wherein saidvoltage-controlled oscillator comprises an odd number ofseries-connected inverter circuits,each of said inverter circuits havinga transistor whose current amounts are switched in accordance with theswitching signal.
 19. A circuit according to claim 13, wherein saidvoltage-controlled oscillator comprises:an odd number ofseries-connected differential amplification circuits; and selectionmeans for selecting one of a plurality of output signals from saiddifferential amplification circuits in accordance with the switchingsignal, and wherein said selection means respectively suppliesnon-inverting and inverting output signals from said differentialamplification circuit to non-inverting and inverting input terminals ofthe first differential amplification circuit when said selection meansselects an output signal from an odd-numbered differential amplificationcircuit, and said selection means respectively supplies inverting andnon-inverting output signals from said differential amplificationcircuit to non-inverting and inverting input terminals of the firstdifferential amplification circuit when said selection means selects anoutput signal from an even-numbered differential amplification circuit.20. A semiconductor integrated circuit having an oscillation circuit,comprising:frequency detection means for detecting a frequency of ahorizontal sync signal, the frequency changing over a wide range, saidfrequency detection means generating a switching signal in accordancewith the detected frequency; and a PLL circuit for oscillating a signalin accordance with the frequency of the horizontal sync signal, said PLLcircuit having a voltage-controlled oscillator which has a plurality ofoscillation modes obtained by dividing a frequency equal to an integermultiple of the frequency of the horizontal sync signal into a pluralityof frequency ranges, the oscillation modes being switched in accordancewith a switching signal output from said frequency detection means, andsaid voltage-controlled oscillator oscillating a signal in each of thefrequency ranges in accordance with a control voltage.
 21. A circuitaccording to claim 20, wherein said frequency detection meanscomprises:a counter for counting clock signals in one period of thehorizontal sync signal, and outputting a counting result; and a decoderfor decoding the counting result from said counter, and outputting saidswitching signal.
 22. A semiconductor integrated circuit having anoscillation circuit, comprising:frequency detection means for detectinga frequency of an input signal, the frequency changing over a widerange, said frequency detection means generating a control signal inaccordance with the detected frequency; and a voltage-controlledoscillator for oscillating a signal having a wide range frequencyapproximately equal to said frequency of said input signal, andselectively outputting an oscillated signal in accordance with saidcontrol signal applied from said frequency detection means.
 23. Asemiconductor integrated circuit having an oscillation circuit,comprising:frequency detection means for detecting a frequency of aninput signal, the frequency changing over a wide range, said frequencydetection means generating a control signal in accordance with thedetected frequency; a phase comparing circuit for comparing a phase ofthe input signal with a phase of a reference signal, said phasecomparing circuit outputting a signal corresponding to a phasedifference between the input signal and the reference signal; a filtercircuit for generating a control voltage from the output signal which issupplied from said phase comparing circuit; a voltage-controlledoscillator for oscillating a signal having a wide range frequencyapproximately equal to said frequency of said input signal in accordancewith the control voltage applied from said filter circuit, andselectively outputting an oscillated signal in accordance with saidcontrol signal applied from said frequency detection means; andfrequency dividing means for frequency-dividing an output signal fromsaid voltage-controlled oscillator, said frequency dividing meansgenerating the reference signal, and supplying the reference signal tosaid phase comparing circuit.